package cate.common.table.item.spice.sheet;

import cate.common.table.ESheet;
import cate.common.table.item.spice.row.SpiceBreakAttrRow;

public class SpiceBreakAttrSheet extends ESheet<SpiceBreakAttrRow> {
    @Override
    public String getSheetName() {
        return "星格突破属性";
    }

    public SpiceBreakAttrRow getAttrRow(int tid, int level){
        for (SpiceBreakAttrRow row : this.getList()) {
            if (row.tid == tid && row.level == level) {
                return row;
            }
        }
        return null;
    }
}
